import java.awt.Button;
import java.awt.Frame;

public class MyFrame extends Frame
{
    Button b;

    public MyFrame()
    {
	super("title here");
	b = new Button("I am a button :)");
	add(b);
	setSize(200, 300);
	setVisible(true);
    }
}
